<%--
  Created by IntelliJ IDEA.
  User: 13585
  Date: 2020/12/23
  Time: 8:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="top.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>我的信息</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/index.css" rel="stylesheet">
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="js/jquery-3.2.1.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="js/bootstrap.min.js"></script>
</head>
<body>
<div id="myboard" class="panel panel-default">
    <div class="panel-heading">我的信息</div>
    <table class="table table-bordered">
        <tr>
            <td>姓名</td>
            <td>${sessionScope.user.username}</td>
        </tr>
        <tr>
            <td>Email</td>
            <td>${sessionScope.user.email}</td>
        </tr>
        <tr>
            <td>手机号</td>
            <td>${sessionScope.user.phone}</td>
        </tr>
        <tr>
            <td>创建时间</td>
            <td>${sessionScope.user.createtime}</td>
        </tr>
        <tr>
            <td>操作</td>
            <td>
                <a href="upname.jsp" class="btn btn-primary">编辑</a>
                <a href="cancel" class="btn btn-warning">注销</a>
            </td>
        </tr>
    </table>
</div>
</body>
</html>
